package com.sample.base.ui.fragment;

import androidx.annotation.NonNull;

import com.loyal.helper.PermissionHelper;
import com.loyal.ui.fragment.BasicFragment;

import java.util.Map;

public abstract class BaseFragment extends BasicFragment implements PermissionHelper.MultipleCallback, PermissionHelper.SingleCallback {

    public void multiplePermissions(PermissionHelper.MultipleCallback listener, String... permissions) {
        PermissionHelper.multiple(this, listener, permissions);
    }

    @Override
    public void singlePermissionCallback(boolean successful) {

    }

    @Override
    public void multiplePermissionsCallback(@NonNull Map<String,Boolean> refuseMap) {

    }
}
